package com.hsj;


import com.hsj.service.BookService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
public class BookServiceTestCase {


    @Autowired
    private BookService bookService;
  @Test
    void testgetById(){
      bookService.getAll();
  }

    @Test
    void testPage(){
         bookService.getPage(1,5);
    }


}
